package com.cheetah.start.common.start;

import org.springframework.beans.factory.DisposableBean;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

/**
 * 启动运行
 *
 * @author Feel
 * @date 2021/11/10 19:25
 * @Description:
 */
@Component
@Order(value = 1)
public class StartRunner implements ApplicationRunner, DisposableBean {


    /**
     * 运行
     *
     * @param args arg游戏
     * @throws Exception 异常
     */
    @Override
    public void run(ApplicationArguments args) throws Exception {
    }


    /**
     * 摧毁
     *
     * @throws Exception 异常
     */
    @Override
    public void destroy() throws Exception {

    }
}
